package com.ujs.edu.medicine.dataobject;

import com.ujs.edu.medicine.util.DateFormate;

import java.util.Date;

/**
 * 
 * @date 2020/09/11
 */
public class YunjiayiMessage {
    /**
     * 聊天消息
     */
    private Integer messageId;

    /**
     * 内容
     */
    private String content;

    /**
     * 发件人
     */
    private Integer fromuserid;

    /**
     * 创建时间
     */
    private String createTime;

    /**
     * 收件人
     */
    private Integer touserid;

    /**
     * 删除时间
     */
    private String deleteTime;

    /**
     * 一条回话对应一个处方。处方有一个状态
     */
    private Integer prescriptionid;

    /**
     * 聊天状态
     */
    private String messagestatus;

    /**
     * 是否是图片
     */
    private Integer isfile;

    private Integer chatid;

    private Author author;

    private Boolean isfile1;

    private Boolean isMy;//是否是本人的信息



    public Boolean getIsfile1() {
        return isfile1;
    }

    public void setIsfile1(Boolean isfile1) {
        this.isfile1 = isfile1;
    }

    public Author getAuthor() {
        return author;
    }

    public void setAuthor(Author author) {
        this.author = author;
    }


    public Boolean getIsMy() {
        return isMy;
    }

    public void setIsMy(Boolean ismy) {
        isMy = ismy;
    }


    public Integer getMessageId() {
        return messageId;
    }

    public void setMessageId(Integer messageId) {
        this.messageId = messageId;
    }

    public String getContent() {
        return content;
    }

    public void setContent(String content) {
        this.content = content;
    }

    public Integer getFromuserid() {
        return fromuserid;
    }

    public void setFromuserid(Integer fromuserid) {
        this.fromuserid = fromuserid;
    }

    public String getCreateTime() {
        return createTime;
    }

    public Boolean getMy() {
        return isMy;
    }

    public void setMy(Boolean my) {
        isMy = my;
    }

    public void setCreateTime(String createTime) {
        this.createTime = createTime;
    }

    public Integer getTouserid() {
        return touserid;
    }

    public void setTouserid(Integer touserid) {
        this.touserid = touserid;
    }

    public String getDeleteTime() {
        return deleteTime;
    }

    public void setDeleteTime(String deleteTime) {
        this.deleteTime = deleteTime;
    }

    public Integer getPrescriptionid() {
        return prescriptionid;
    }

    public void setPrescriptionid(Integer prescriptionid) {
        this.prescriptionid = prescriptionid;
    }

    public String getMessagestatus() {
        return messagestatus;
    }

    public void setMessagestatus(String messagestatus) {
        this.messagestatus = messagestatus;
    }

    public Integer getIsfile() {
        return isfile;
    }

    public void setIsfile(Integer isfile) {
        this.isfile = isfile;
    }

    public Integer getChatid() {
        return chatid;
    }

    public void setChatid(Integer chatid) {
        this.chatid = chatid;
    }
}